package com.gccloud.design.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gccloud.design.dto.OptButtonBranchDto;
import com.gccloud.design.entity.OptButtonBranchEntity;
import com.gccloud.starter.common.dto.SearchDTO;

import java.util.Map;

/**
 * 实现功能【环节操作按钮分支业务层】
 *
 * @author hu.hongdou
 * @date 2022/2/21
 */
public interface OptBtnBranchService extends IService<OptButtonBranchEntity> {
    /**
     *流程操作方法
     */
    Map<String,Object> getOptBtnBranch(Integer businessTypeId, String searchCon, SearchDTO searchDTO);

    Boolean saveOptBtnBranch(OptButtonBranchDto optButtonBranchDto);

    Boolean saveUpdateOptBtnBranch(OptButtonBranchDto optButtonBranchDto);

    Boolean deleteOptBtnBranch(Integer optBranchId);
}
